Skip to content

Let the action follow a release line with @v0 and @v0.1 - #14

Merged
devblac merged 1 commit into
mainfrom
feat/major-version-ref
Nov 6, 2026
Merged

devblac merged 1 commit into
mainfrom
feat/major-version-ref

Conversation

@devblac

@devblac devblac commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Lets users write uses: devblac/docker-lint@v0 and get every compatible update without editing their workflow, as most published actions allow.

  • action.yml: a major or minor ref (v0, v0.1), either as the action's tag or as version, installs the newest published vX.Y.Z release in that line. It sorts numerically, so v2 picks v2.103.3 over v2.9.0, and v2.9 does not match v2.90.x. Drafts and prereleases are skipped. When no release matches, the step fails with a clear error.
  • version-tags.yml (new): when a release is published, it moves vX and vX.Y to the release, but only if it is the newest in that line. A patch for an older line leaves newer tags alone.
  • release.yml: only runs for vX.Y.Z tags, so moving v0 does not start a release. Tags pushed with GITHUB_TOKEN don't trigger workflows anyway, but someone could push v0 by hand.
  • README, CHANGELOG (Unreleased) and CONTRIBUTING updated.

Testing

  • actionlint passes on all workflows.
  • I ran the resolution filter from action.yml against the real cli/cli releases: v2 → v2.103.3, v2.40 → v2.40.1, v2.9 → v2.9.0, v1 → v1.14.0, and v3 → none.
  • I ran the install step locally for @v0 (fails with "no published release matches v0", as v0.1.1 is still a draft), @v0.1.1 (downloads, verifies and installs) and a branch (falls back to the latest release).
  • Not yet tested: the version-tags workflow, which only runs when a release is published, and the action at @v0 on real runners. Both can be checked with v0.1.1. If this merges after v0.1.1 is published, run the workflow's steps once by hand, or create v0 and v0.1 at v0.1.1.

🤖 Generated with Claude Code

A major or minor ref (v0, v0.1), as the action's tag or the version input,
installs the newest published vX.Y.Z release in that line. A new workflow
moves those tags to each published release that is the newest in its line,
and the Release workflow now only runs for vX.Y.Z tags so moving them does
not start a release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T05:30:50.923430Z c008c2b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@devblac
devblac merged commit a671e07 into main Nov 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant